
abstract class Employee{
	private String name;
	private int id;
	private double salary;
	
	public Employee(String name,int id,double salary){
		this.name = name;
		this.id = id;
		this.salary = salary;
	}
	
	public abstract void work();
}

class Programmer extends Employee{
	public Programmer(String name,int id,double salary){
		super(name,id,salary);
	}
	
	public void work(){
		System.out.println("Coding...");
	}
}

class Manager extends Employee{
	private double bonus;
	
	public Manager(String name,int id,double salary,double bonus){
		super(name,id,salary);
		this.bonus = bonus;
	}
	 
	public void work(){
		System.out.println("Managing...");
	}
	
}